import request from '@/utils/request'

// 列表
export const getList = (params) => {
  return request({
    url: '/steel-arch/deviceV2MaintenanceRecord/listPageDeviceV2MaintenanceRecords',
    params:params,
    method: 'get'
  })
}
// 新增or编辑
export const edit = (params) => {
  return request({
    url: '/steel-arch/deviceV2MaintenanceRecord/saveOrUpdateDeviceV2MaintenanceRecord',
    data:params,
    method: 'post'
  })
}
// 删除
export const deleteById = (id) => {
  return request({
    url: '/steel-arch/deviceV2MaintenanceRecord/removeDeviceV2MaintenanceRecordByIds/'+id,
    method: 'get'
  })
}
